package one.stand.fallback;

import one.stand.entity.TokenEntity;
import one.stand.feign.LoginFegin;
import one.stand.model.CompanyModel;
import one.stand.model.ResultModel;
import one.stand.request.SendSmsCodeRequest;
import one.stand.request.WxLoginRequest;
import one.stand.response.LoginResponse;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author Administrator
 */
@Component
public class LoginFallBack implements LoginFegin {

    @Override
    public ResultModel<TokenEntity> getLoginInfo(String token) {
        return ResultModel.faultTolerant();
    }


    @Override
    public ResultModel<Boolean> loginVerification(String token) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<String> getPcLoginImg(String companyKey) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel pcLoginCallBack(String code, String state) {
        return ResultModel.faultTolerant();
    }




    @Override
    public ResultModel<Boolean> sendSms(SendSmsCodeRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<LoginResponse> crmPcLoginBySms(WxLoginRequest request) {
        return ResultModel.faultTolerant();
    }

    @Override
    public ResultModel<List<CompanyModel>> getCompanyListByPhone(SendSmsCodeRequest request) {
        return ResultModel.faultTolerant();
    }
}
